package org.mao.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/666")
public class SisPageController {
	
	@RequestMapping(value = "/1")
	public String sectionlist(HttpServletRequest request) {
		return "sis/sectionlist";
	}

	@RequestMapping(value = "/2")
	public String postlist(HttpServletRequest request, Integer sectionId) {
		request.setAttribute("sectionId", sectionId);
		return "sis/postlist";
	}

}
